package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.MgUserRole;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface MgUserRoleDaoI extends BaseMapper<MgUserRole> {

   @Insert("INSERT INTO `mg_user_role` (`user_code`,`role_code`) VALUES (#{userCode},#{roleCode})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(MgUserRole mgUserRole);
}
